package com.qingmeng.outsourcing.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "毕业院校")
    private String college;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "工作年限（单位是年）")
    private Integer workYears;

    @ApiModelProperty(value = "工资，单位—（元/天）")
    private Integer salary;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "微信")
    private String wechat;

    @ApiModelProperty(value = "支付宝")
    private String alipay;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "工作类型（0为全职，1为兼职，2为全职兼职都可以")
    private Integer workType;

    @ApiModelProperty(value = "工作状态id")
    private Long workStateProfile;

    @ApiModelProperty(value = "自我介绍")
    private String personalProfile;

    @ApiModelProperty(value = "个人简介")
    private String shortPersonalProfile;

    @ApiModelProperty(value = "记录创建时间")
    private Date createTime;

    @ApiModelProperty(value = "记录更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是不是学生，是为1，不是为2")
    private Integer ifStudent;

    @ApiModelProperty(value = "认证类型（1为个人认证，2为企业认证，0为未认证）")
    private Integer authType;

    @ApiModelProperty(value = "实名认证是否通过，通过为1，不通过为2，通过才可以")
    private Integer realnameapproved;

    @ApiModelProperty(value = "是发布者为1，使开发者为2")
    private Integer isPublisher;

    @ApiModelProperty(value = "审核人id")
    private Long approver;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getWorkYears() {
        return workYears;
    }

    public void setWorkYears(Integer workYears) {
        this.workYears = workYears;
    }

    public Integer getSalary() {
        return salary;
    }

    public void setSalary(Integer salary) {
        this.salary = salary;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getAlipay() {
        return alipay;
    }

    public void setAlipay(String alipay) {
        this.alipay = alipay;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getWorkType() {
        return workType;
    }

    public void setWorkType(Integer workType) {
        this.workType = workType;
    }

    public Long getWorkStateProfile() {
        return workStateProfile;
    }

    public void setWorkStateProfile(Long workStateProfile) {
        this.workStateProfile = workStateProfile;
    }

    public String getPersonalProfile() {
        return personalProfile;
    }

    public void setPersonalProfile(String personalProfile) {
        this.personalProfile = personalProfile;
    }

    public String getShortPersonalProfile() {
        return shortPersonalProfile;
    }

    public void setShortPersonalProfile(String shortPersonalProfile) {
        this.shortPersonalProfile = shortPersonalProfile;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIfStudent() {
        return ifStudent;
    }

    public void setIfStudent(Integer ifStudent) {
        this.ifStudent = ifStudent;
    }

    public Integer getAuthType() {
        return authType;
    }

    public void setAuthType(Integer authType) {
        this.authType = authType;
    }

    public Integer getRealnameapproved() {
        return realnameapproved;
    }

    public void setRealnameapproved(Integer realnameapproved) {
        this.realnameapproved = realnameapproved;
    }

    public Integer getIsPublisher() {
        return isPublisher;
    }

    public void setIsPublisher(Integer isPublisher) {
        this.isPublisher = isPublisher;
    }

    public Long getApprover() {
        return approver;
    }

    public void setApprover(Long approver) {
        this.approver = approver;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userName=").append(userName);
        sb.append(", realName=").append(realName);
        sb.append(", college=").append(college);
        sb.append(", phone=").append(phone);
        sb.append(", workYears=").append(workYears);
        sb.append(", salary=").append(salary);
        sb.append(", address=").append(address);
        sb.append(", email=").append(email);
        sb.append(", password=").append(password);
        sb.append(", wechat=").append(wechat);
        sb.append(", alipay=").append(alipay);
        sb.append(", qq=").append(qq);
        sb.append(", idCard=").append(idCard);
        sb.append(", workType=").append(workType);
        sb.append(", workStateProfile=").append(workStateProfile);
        sb.append(", personalProfile=").append(personalProfile);
        sb.append(", shortPersonalProfile=").append(shortPersonalProfile);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", ifStudent=").append(ifStudent);
        sb.append(", authType=").append(authType);
        sb.append(", realnameapproved=").append(realnameapproved);
        sb.append(", isPublisher=").append(isPublisher);
        sb.append(", approver=").append(approver);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}